Skip to content

Lint GitHub workflows - #39

Merged
JoseCVieira merged 2 commits into
mainfrom
lint-github-workflows
Nov 8, 2026
Merged

JoseCVieira merged 2 commits into
mainfrom
lint-github-workflows

Conversation

@JoseCVieira

@JoseCVieira JoseCVieira commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Closes #34

@JoseCVieira JoseCVieira self-assigned this Nov 8, 2026
Add zizmor and actionlint as dev dependencies and pre-commit hooks,
and fix what zizmor reports in the root workflows:

- Pin actions to exact tags and lock their commits in
  .github/workflows/actions.lock, generated by gh actions-lock.
- Do not persist checkout credentials.
- Call same-repository workflows with the $/ syntax.
- Wait 7 days before Dependabot proposes a new version.

actionlint does not accept the $/ syntax yet, so its hook only runs
manually with make lint-actionlint.
Add zizmor and actionlint to generated projects as dev dependencies
and pre-commit hooks, and fix what zizmor reports in their workflows:

- Pin actions to exact tags and lock their commits in
  .github/workflows/actions.lock, with setup-uv only for Python
  packaging.
- Do not persist checkout credentials.
- Call same-repository workflows with the $/ syntax.
- Wait 7 days before Dependabot proposes a new version.

actionlint does not accept the $/ syntax yet, so its hook only runs
manually with make lint-actionlint. AGENTS.md says to run
gh actions-lock after adding or removing an action.

Closes #34
@JoseCVieira
JoseCVieira force-pushed the lint-github-workflows branch from 4d49ac0 to 9e71955 Compare November 8, 2026 21:41
@JoseCVieira
JoseCVieira merged commit 789cf9e into main Nov 8, 2026
3 checks passed
@JoseCVieira
JoseCVieira deleted the lint-github-workflows branch November 8, 2026 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: lint GitHub workflows

1 participant